package com.hliushi.exception;

import com.hliushi.response.ResultCode;

/**
 * @ClassName ExceptionCast
 * @Description 自定义异常抛出类
 * @Author liushi
 * @Date 2020/9/17 7:35
 * @Version V1.0
 **/
public class ExceptionCast {

    public static void cast(ResultCode resultCode) {
        throw new BusinessErrorException(resultCode);
    }
}
